#ifndef CALCULATRICE_H
#define CALCULATRICE_H

#include <QtGui/QMainWindow>
#include <QPushButton>
#include <QMenuBar>
#include <QMenu>
#include <QStatusBar>
#include <QAction>
#include <QLineEdit>
#include <QVBoxLayout>

class Calculatrice : public QMainWindow
{
    Q_OBJECT

public:
    Calculatrice(QWidget *parent = 0);
    ~Calculatrice();
    void createMenu();
    void createStatusBar();
    void ajouteBouttons();

public slots:
    void copier();
    void coller();
    void about();

private:
    QMenu *fichierMenu;
    QMenu *AffichageMenu;
    QMenu *AideMenu;

    QAction *action_copier;
    QAction *action_coller;
    QAction *action_apropos;

    QLineEdit *ligne_sortie;

    //Les bouttons
    QPushButton *button_un;
    QPushButton *button_deux;
    QPushButton *button_trois;
    QPushButton *button_quatre;
    QPushButton *button_cinq;
    QPushButton *button_six;
    QPushButton *button_sept;
    QPushButton *button_huit;
    QPushButton *button_neuf;

    QPushButton *button_retour_arriere;
    QPushButton *button_clear;
    QPushButton *button_clear_enabled;

    QPushButton *button_MC;
    QPushButton *button_MR;
    QPushButton *button_MS;
    QPushButton *button_Mplus;

    QPushButton *button_positive_negative;
    QPushButton *button_vergule;

    QPushButton *button_plus;
    QPushButton *button_moins;
    QPushButton *button_division;
    QPushButton *button_multiplication;
    QPushButton *button_ra_carrer;

};

#endif // CALCULATRICE_H
